.class Lcom/instagram/android/widget/ah;
.super Ljava/lang/Object;
.source "ShareTableHelper.java"

# interfaces
.implements Lcom/instagram/android/widget/h;


# instance fields
.field final synthetic a:Lcom/instagram/model/a/b;

.field final synthetic b:Lcom/instagram/android/widget/ag;


# direct methods
.method constructor <init>(Lcom/instagram/android/widget/ag;Lcom/instagram/model/a/b;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 179
    iput-object p1, p0, Lcom/instagram/android/widget/ah;->b:Lcom/instagram/android/widget/ag;

    iput-object p2, p0, Lcom/instagram/android/widget/ah;->a:Lcom/instagram/model/a/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/instagram/android/widget/IgCheckButton;Z)V
    .locals 2
    .parameter
    .parameter

    .prologue
    const/4 v1, 0x0

    .line 183
    if-nez p2, :cond_0

    .line 184
    iget-object v0, p0, Lcom/instagram/android/widget/ah;->a:Lcom/instagram/model/a/b;

    invoke-interface {v0, v1}, Lcom/instagram/model/a/b;->f(Z)V

    .line 195
    :goto_0
    iget-object v0, p0, Lcom/instagram/android/widget/ah;->b:Lcom/instagram/android/widget/ag;

    invoke-static {v0}, Lcom/instagram/android/widget/ag;->c(Lcom/instagram/android/widget/ag;)V

    .line 196
    return-void

    .line 188
    :cond_0
    invoke-static {}, Lcom/instagram/android/w/a;->a()Lcom/instagram/android/w/a;

    move-result-object v0

    if-nez v0, :cond_1

    .line 189
    iget-object v0, p0, Lcom/instagram/android/widget/ah;->b:Lcom/instagram/android/widget/ag;

    invoke-static {v0}, Lcom/instagram/android/widget/ag;->a(Lcom/instagram/android/widget/ag;)Lcom/instagram/android/creation/widget/UploadCompoundButton;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/widget/UploadCompoundButton;->setChecked(Z)V

    .line 190
    iget-object v0, p0, Lcom/instagram/android/widget/ah;->b:Lcom/instagram/android/widget/ag;

    invoke-static {v0}, Lcom/instagram/android/widget/ag;->b(Lcom/instagram/android/widget/ag;)Lcom/instagram/e/b/b;

    move-result-object v0

    const/4 v1, 0x5

    invoke-static {v0, v1}, Lcom/instagram/android/activity/VkontakteAuthActivity;->a(Landroid/support/v4/app/Fragment;I)V

    goto :goto_0

    .line 192
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/widget/ah;->a:Lcom/instagram/model/a/b;

    const/4 v1, 0x1

    invoke-interface {v0, v1}, Lcom/instagram/model/a/b;->f(Z)V

    goto :goto_0
.end method
